Static vs instance members in Java